* gnutls.c (emacs_gnutls_handshake): Don't return a garbage value.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:12:16 +0000 (00:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:12:16 +0000 (00:12 -0700)
commitac140eea69a7018b47a29acffad5f942459f2611
treefb172f29dd558eb85f5abc675cae614d5d142b76
parent05b3aa73764a2a450a10811b188e353bf8bc6599
* gnutls.c (emacs_gnutls_handshake): Don't return a garbage value.

Expect the caller to check whether GNUTLS_STAGE_HANDSHAKE_CANDO <=
proc->gnutls_initstage, if the check is needed.  The check isn't
needed for one caller, Fgnutls_boot.
(emacs_gnutls_read): Do that check.  This is the other caller.
src/ChangeLog
src/gnutls.c